<?php
declare (strict_types = 1);

namespace app\dashboard\controller;

use think\facade\View;
use think\facade\Db;
use app\model\Page;

class Home
{
    public function index()
    {
        $pages = Page::where('active',1)->select();
        View::assign('name','qnzcms');
        View::assign('list',$pages);
        return View::fetch('home/index');
    }
}
